package com.ruoyi.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 默认账套对象 financial_default_account
 * 
 * @author ruoyi
 * @date 2025-02-25
 */
@TableName("financial_default_account")
public class FinancialDefaultAccount
{
    private static final long serialVersionUID = 1L;

    /** 默认用户账套表id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 账套id */
    @Excel(name = "账套id")
    private Long accountSetId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAccountSetId(Long accountSetId) 
    {
        this.accountSetId = accountSetId;
    }

    public Long getAccountSetId() 
    {
        return accountSetId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("accountSetId", getAccountSetId())
            .toString();
    }
}
